Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rmdir support #2985

Merged
merged 22 commits into from
Jan 21, 2025
Merged

Add rmdir support #2985

merged 22 commits into from
Jan 21, 2025

Conversation

facundopoblete
Copy link
Contributor

Add support to forward the rmdir command to the agent

@facundopoblete facundopoblete marked this pull request as ready for review December 19, 2024 05:03
@Razz4780 Razz4780 self-requested a review December 19, 2024 08:38
@Razz4780 Razz4780 requested review from meowjesty and gememma and removed request for Razz4780 December 31, 2024 14:50
Copy link
Member

@meowjesty meowjesty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementation looks fine, think there's room for improvement around the helper function you added though.

Some of our logs are in the Thing -> {foo} format because we were using a different logging crate (or something like that) in the past. Now we mostly just stick the tracing::instrument macro on each function, and the old style is still there in some places due to us changing it only when we touch the code.

mirrord/agent/src/file.rs Outdated Show resolved Hide resolved
mirrord/agent/src/file.rs Outdated Show resolved Hide resolved
mirrord/agent/src/file.rs Outdated Show resolved Hide resolved
mirrord/intproxy/src/proxies/files.rs Outdated Show resolved Hide resolved
mirrord/intproxy/src/proxies/files.rs Outdated Show resolved Hide resolved
mirrord/intproxy/src/proxies/files.rs Outdated Show resolved Hide resolved
mirrord/layer/src/file/ops.rs Outdated Show resolved Hide resolved
mirrord/layer/src/file/ops.rs Outdated Show resolved Hide resolved
changelog.d/2221.fixed.md Outdated Show resolved Hide resolved
Copy link
Member

@gememma gememma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! My only suggestion other than what @meowjesty already suggested is changing the changelog file name to 2221.added.md since new features are being added rather than existing ones being changed, but up to you (I know the changlog for the mkdir support PR was fixed) :)

Copy link
Member

@meowjesty meowjesty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks for the PR!

Approving it since I only have 2 nits.

mirrord/agent/src/file.rs Outdated Show resolved Hide resolved
mirrord/agent/src/file.rs Outdated Show resolved Hide resolved
@Razz4780
Copy link
Contributor

Hey @facundopoblete, sorry for not merging. We forgot that you can't do it yourself 😅
If you can update the PR again, I'll hit the button

@facundopoblete
Copy link
Contributor Author

Hey @facundopoblete, sorry for not merging. We forgot that you can't do it yourself 😅 If you can update the PR again, I'll hit the button

@Razz4780 No problem! Done

@Razz4780 Razz4780 enabled auto-merge January 21, 2025 15:41
@Razz4780 Razz4780 added this pull request to the merge queue Jan 21, 2025
Merged via the queue into metalbear-co:main with commit 63bd257 Jan 21, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants